const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roleList: state => state.user.roleList,
  resourceFlag: state => state.user.resourceFlag,
  sidebarRouters: state => state.user.sidebarRouters,
  permissionRouters: state => state.user.permissionRouters

}
export default getters
